	 <?php if($this->session->flashdata('error')):?>
	 <div class="notification error">
        <div class="notification-border-top"></div>
        <div class="notification-border-middle"> <span>Error Data !</span> </div>

        <div class="notification-border-bottom"></div>
      </div>
	  <?php endif;?>
	  
	  <?php if($this->session->flashdata('success')):?>
      <div class="notification success">
        <div class="notification-border-top"></div>
        <div class="notification-border-middle"> <span>Save Successfull Wait to Approve</span> </div>
        <div class="notification-border-bottom"></div>
      </div>
	  <?php endif;?>

   
  
  <div class="frame">
    <div class="frame-border-top"></div>
    <div class="frame-border-middle">
      <h1 class="header">Add Customer</h1>

      
      <div class="accordion">
        <div class="accordion-tab">
          <h1><a href="<?=site_url('customer/active');?>">Back</a></h1>
          <div class="accordion-tab-open-close"></div>
          <div class="clear"></div>

        </div>
        <div class="accordion-panel">
          <div class="accordion-panel-border-top">
            <div class="accordion-panel-border-bottom">
              <form method="post" action="<?=site_url($action);?>" >
			  
                <div class="form-row padding-lr-5">
                  <label>Date</label>
                  <input type="text" value="<?=date('d-m-Y');?>" name="date"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5 skinnable">
                  <label>Status</label>
				  
                  <select name="status" style="width:254px;">
				  <?php foreach($status as $rec):?>
                    <option value="<?=$rec['id'];?>"><?=$rec['status_name'];?></option>
                  <?php endforeach;?>  
                  </select>
                  <div class="clear"></div>
                </div>
				
				 <div class="form-row padding-lr-5 skinnable">
                  <label>From</label>
				  
                  <select name="from" style="width:254px;">
                    <option value="Mandiri" selected="selected">Mandiri</option>
                    <option value="Manajemen">Manajemen</option>
                  </select>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5 skinnable">
                  <label>Group</label>
				  
                  <select name="group" style="width:254px;">
				  <?php foreach($group as $rec):?>
                    <option value="<?=$rec['id'];?>"><?=$rec['group_name'];?></option>
                  <?php endforeach;?>  
                  </select>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5 skinnable">
                  <label>Sector</label>
				  
                  <select name="sector" style="width:254px;">
				  <?php foreach($sector as $rec):?>
                    <option value="<?=$rec['id'];?>"><?=$rec['sector_name'];?></option>
                  <?php endforeach;?>  
                  </select>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5 skinnable">
                  <label>Source</label>
				  
                  <select name="source" style="width:254px;">
				  <?php foreach($source as $rec):?>
                    <option value="<?=$rec['id'];?>"><?=$rec['source_name'];?></option>
                  <?php endforeach;?>  
                  </select>
                  <div class="clear"></div>
                </div>
				
            
				<div class="form-row padding-lr-5">
                  <label>Name</label>
                  <input type="text" value="" name="name"/>
                  <div class="clear"></div>
                </div>
				
				
				
				<div class="form-row padding-lr-5">
                  <label>PIC</label>
                  <input type="text" value="" name="pic"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Position</label>
                  <input type="text" value="" name="pic_pos"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>PIC 2</label>
                  <input type="text" value="" name="pic2"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Position</label>
                  <input type="text" value="" name="pic2_pos"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Email</label>
                  <input type="text" value="" name="email"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Tlp</label>
                  <input type="text" value="" name="tlp"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Ext</label>
                  <input type="text" value="" name="ext"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Hp</label>
                  <input type="text" value="" name="hp"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Fax</label>
                  <input type="text" value="" name="fax"/>
                  <div class="clear"></div>
                </div>
                
				<div class="form-row padding-lr-5">
                  <label>Address</label>
                  <input type="text" value="" name="address"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>City</label>
                  <input type="text" value="" name="city"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Zip</label>
                  <input type="text" value="" name="zip"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>Note</label>
                  <input type="text" value="" name="desc"/>
                  <div class="clear"></div>
                </div>
               

                <div class="form-row padding-lr-15">
					<input class="submit" name="save"  value="Submit" type="submit">
                  <div class="clear"></div>
                </div>
              </form>
            </div>
          </div>
        </div>
       
        
      
	  
    </div>
    <div class="frame-border-bottom-lined"></div>
  </div>
  
  
</div>

